const ANCHOR_LIST_SUCCESS = 'ANCHOR_LIST_SUCCESS'
const ANCHOR_ERROR_MSG = 'ANCHOR_ERROR_MSG'
const initialState = {

}
// rxreducer
// rxaction
const anchor = (state = initialState, action) => {
    // console.log(action.payload);
    switch (action.type) {
        case ANCHOR_LIST_SUCCESS:
            return { ...state, ...action.payload }
        case ANCHOR_ERROR_MSG:
            return { ...action.payload }
        default:
            return state
    }
}
export default anchor
